
// output model for blocks on a screen, (text, etc)


	+-------+----+----+
	| 	|    |    |   etc.
	|	|    |    |
	|	+----+    |
	|	|    |    |
	+-------+    +----+



c flow screen model


	x = 0	// across the page
	y = 0


	for each output obj


		if newline seq					// or 'if x + objwidth > screenwidth'

			y = y + maxheight

			x = 0

			maxheight = objheight
		else

			x = x + objwidth

			if objheight > maxheight then

				maxheight = objheight

			endif

		endif

		draw object (sqr window)


			// text left/right/cntr, vertically tp/btm/ctr, wrap/truncate/extend into next block





vert. alignment

	vertically top/bot/cntr based on height of line (max height of objects on that line)



obj width

	pixels, % of screen width



obj height
	pixels, % of screen height, auto based on the text
	


recursive, call function on a single block to format interior in the same way

 
